{template header}
<div class="path">
	<span>订单管理</span>
</div>
<div class="content">
	<div class="c1">
	<div style="border:1px #B9D1E3 solid; background:#FFFFFF">
		<form id="card-search" action="order-admin.htm" method="POST">
			<table height="40" border="0" cellspacing="5" cellpadding="0">
				<tr>
					<td>订单号：</td><td><input type="text" name="orderNo" value="$orderNo" /></td>
					<td>用户名：</td><td><input type="text" name="userName" value="$userName" style="width:80px;" /></td>
					<td><input type="submit" name="submitTo" value=" 搜索 " class="bigButton" /></td>
				</tr>
			</table>
		</form>
	</div>
	<form action="user-delete.htm" method="post">
	      <table width="100%" border="0" cellspacing="1" cellpadding="2" class="table1" style="text-align:center;margin-top:10px;">
	        <tr>
			<th width="15%">订单号</th>
			<th width="15%">总价（折扣后）</th>
			<th width="15%">用户名</th>
			<th width="20%">订单状态</th>
			<th width="15%">下单时间</th>
			<th width="15%">操作</th>
		</tr>
		<!--{loop $orders $v}-->
		<tr>
			<td><a href="order-view-{$v[orderId]}.htm" target="_blank">{$v[orderNo]}</a></td>
			<td>￥{$v[totalPrice]}</td>
			<td>{$v[userName]}</td>
			<td>{$v[status]}</td>
			<td>{$v[createdTime]}</td>
			<td>
				<a href="order-view-{$v[orderId]}.htm">查看</a>
				<!--{if $v[isDelete]}-->
				<a href="order-trueDelete-{$v[orderId]}.htm" onclick="if(confirm('删除后，将不可恢复！你是否真的需要删除？')){return true;}else{return false;}">删除</a>
				<!--{/if}-->
			</td>
		</tr>
		<!--{/loop}-->
		<tr>
			<td colspan="9">$multipage</td>
		</tr>
	      </table>
	      </form>
	</div>
</div>
{template footer}